using BackData;
using Domain.DTOs.Order;
using MediatR;

namespace Team.API.Applocation.Command.Order
{
    /// <summary>
    /// 查询订单列表命令
    /// </summary>
    public class GetOrderListCommand : IRequest<APIResult<List<OrderDTO>>>
    {
        /// <summary>
        /// 成品编号（可选）
        /// </summary>
        public long? Itemcode { get; set; }

        /// <summary>
        /// 订单状态（可选）0-待排程, 1-已排程
        /// </summary>
        public int? Orderstatus { get; set; }

        /// <summary>
        /// 开始时间（可选）
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间（可选）
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
